<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2024/10/6
  Time: 19:14
  User: 王俊彪
  Version: 1.0
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <form action="${pageContext.request.contextPath}/user" method="post">
        用户名：<input type="text" name="username"><br/>
        密码：<input type="password" name="password"><br/>
         <input type="hidden" name="uid" value="9">
        <input type="hidden" name="_method" value="PUT">
        <input type="submit" value="提交">
    </form>

    <form action="${pageContext.request.contextPath}/user/99" method="post">
        <input type="hidden" name="_method" value="DELETE"/>
        <input type="submit" value="提交">
    </form>
</body>
</html>
